##TPLHEADERSHORT##
##REFRESH##
	<script type="text/javascript">

	var page = 'reader';
	var jsonurl = 'oscamapi.json';
	var parameters = '?part=readerlist';
	var stoppoll = 0;
	var pollintervall = 0;
	var polling = 0;
	var pollrefresh = '##POLLREFRESHTIME##';
	existing_inserts = new Array(##EXISTING_INS##);

	</script>
##TPLBODY##
##TPLMENU##
##TPLMESSAGE##
	<DIV ID="subnav">
		<UL ID="nav">
			<LI CLASS="configmenu"><A HREF="#" onclick="addinsert();">Add Reader</A></LI>
			<LI CLASS="configmenu"><A HREF="readers.html?action=reloadreaders">Reload Readers</A></LI>
			<LI CLASS="configmenu"><A HREF="scanusb.html">Scan USB</A></LI>
			<LI CLASS="configmenu"><A HREF="readers.html?action=resetallrdrstats" onclick="return confirm('Reset Readerstats ?')">Reset Readerstats</A></LI>
			<LI CLASS="configmenu"><A TARGET="_blank" HREF="graph.svg?type=servers">Show Graphs</A></LI>
##TPLPOLLINGSET##
		</UL>
	</DIV>
	<DIV ID="newinsert">
		<form action="readerconfig.html" method="get" name="new_insert" onsubmit="return chkinsert(document.new_insert.label.value)">
			<TABLE CLASS="readers">
				<TR><TH>NEW Reader Label: <input type="text" name="label" value="##NEXTREADER##">  Protocol: <select name="protocol">##ADDPROTOCOL##</select><input type="submit" name="action" value="Add" title="Add New Reader"></TH></TR>
			</TABLE>
		</form>
	</DIV>
	<DIV ID="searchTable">
		<TABLE CLASS="readers">
			<TR><TH><input type="text" id="searchTerm" class="search_box" placeholder="Enter Searchterm"></TH></TR>
		</TABLE>
	</DIV>
	<TABLE ID="dataTable" CLASS="readers">
	<THEAD>
		<TR>
			<TH COLSPAN="4"></TH>
			<TH COLSPAN="4">ECM</TH>
			<TH COLSPAN="4">EMM</TH>
##TPLREADERLBWU##
			<TH COLSPAN="##READERACTIONCOLS##"></TH>
		</TR>
		<TR id="headline">
			<TH>On/Off</TH>
			<TH data-sort="string-ins" class="sortable">Reader</TH>
			<TH data-sort="string-ins" class="sortable">Protocol</TH>
			<TH>Groups</TH>
			<TH data-sort="int" data-sort-default="desc" class="sortable">OK</TH>
			<TH data-sort="int" data-sort-default="desc" class="sortable">NOK</TH>
			<TH data-sort="int" data-sort-default="desc" class="sortable">TOUT</TH>
			<TH>Filtered<BR><SPAN TITLE="filtered by ECM Header Whitelist"> Head </SPAN>/<SPAN TITLE="filtered by ECM Whitelist"> Len </SPAN></TH>
			<TH>error<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
			<TH>written<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
			<TH>skipped<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
			<TH>blocked<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
##TPLREADERLBWD##
			<TH COLSPAN="##READERACTIONCOLS##">Action</TH>
		</TR>
	</THEAD>
	<TBODY>
##READERLIST##
	</TBODY>
	</TABLE>
	<DIV CLASS="info">
	<TABLE CLASS="infotable">
	##TPLREADERINFOBIT##
	</TABLE>
	</DIV>
	<DIV id="picolor"></DIV>
##TPLFOOTER##
